package com.guli.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.mall.pms.entity.AttrEntity;
import com.guli.mall.pms.entity.AttrGroupEntity;
import com.guli.mall.pms.entity.vo.AttrGroupAndAttrVo;
import com.guli.mall.pms.entity.vo.AttrGroupCategoryNameVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-17 11:37:22
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {


    PageUtils<AttrGroupCategoryNameVo> getAttrGroupPaginationByCondition(Integer currentPage, Integer size, AttrGroupEntity attrGroupEntity);

    List<AttrGroupAndAttrVo> getAttrGroupAndItsAttrList(Long catelogId, AttrEntity attrEntity);

    List<AttrGroupAndAttrVo> querySpuInfoAttrValueAndFillIntoAttrGroup(Long spuInfoId);

    List<AttrGroupEntity> getAttrGroupByCategoryId(Long categoryId);
}

